<!--
 * @Description: 请输入描述信息
 * @Version: 请输入版本号
 * @Autor: renmengxue
 * @Date: 2021-07-27 11:18:46
 * @LastEditors: renmengxue
 * @LastEditTime: 2021-07-27 11:57:27
-->
<template>
  <div>
      <el-button type="info" @click="logout">退出</el-button>
  </div>
</template>

<script>
export default {
  methods: {
    logout () {
window.sessionStorage.clear();
this.$router.push('/login')
    }
  }
}
</script>

<style lang='less' scoped>

</style>
